package Entity;

import java.sql.Date;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.HashMap;
/**
 * activity report entity that get data from the DB
 * and use to generate the activity report 
 * @author Aviat
 *
 */
public class ActivityReport {

	private int activeReqDuration;
	private int rejectReqDuration;
	private int closedReqDuration;
	private int frozenReqDuration;
	private ArrayList<Integer> activeReqList;
	private ArrayList<Integer> rejectReqList;
	private ArrayList<Integer> closedReqList;
	private ArrayList<Integer> frozenReqList;
	String from;
	String to;

	public ActivityReport() {
		activeReqDuration = 0;
		closedReqDuration = 0 ;
		rejectReqDuration = 0;
		frozenReqDuration= 0;
		
		activeReqList = new ArrayList<Integer>();
		rejectReqList = new ArrayList<Integer>();
		closedReqList = new ArrayList<Integer>();
		frozenReqList = new ArrayList<Integer>();
		
	
	}
	
	
	public int getActiveReqDuration() {
		return activeReqDuration;
	}
	public void setActiveReqDuration(int activeReqDuration) {
		this.activeReqDuration += activeReqDuration;
	}
	public int getRejectReqDuration() {
		return rejectReqDuration;
	}
	public void setRejectReqDuration(int rejectReqDuration) {
		this.rejectReqDuration += rejectReqDuration;
	}
	public int getClosedReqDuration() {
		return closedReqDuration;
	}
	public void setClosedReqDuration(int closedReqDuration) {
		this.closedReqDuration += closedReqDuration;
	}
	public int getFrozenReqDuration() {
		return frozenReqDuration;
	}
	public void setFrozenReqDuration(int frozenReqDuration) {
		this.frozenReqDuration += frozenReqDuration;
	}
	public ArrayList<Integer> getActiveReqList() {
		return activeReqList;
	}
	public void setActiveReqList(Integer activeReqList) {
		this.activeReqList.add(activeReqList);
	}
	public ArrayList<Integer> getRejectReqList() {
		return rejectReqList;
	}
	public void setRejectReqList(Integer rejectReqList) {
		this.rejectReqList.add(rejectReqList);
	}
	public ArrayList<Integer> getClosedReqList() {
		return closedReqList;
	}
	public void setClosedReqList(Integer closedReqList) {
		this.closedReqList.add(closedReqList);
	}
	public ArrayList<Integer> getFrozenReqList() {
		return frozenReqList;
	}
	public void setFrozenReqList(Integer frozenReqList) {
		this.frozenReqList.add(frozenReqList);
	}
	public String getFrom() {
		return from;
	}
	public void setFrom(String from) {
		this.from = from;
	}
	public String getTo() {
		return to;
	}
	public void setTo(String to) {
		this.to = to;
	}
	
	
}
